﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.BaseInformation;


namespace TyMES.ViewModel.BaseInformation.CodeTypeVMs
{
    public partial class CodeTypeBatchVM : BaseBatchVM<CodeType, CodeType_BatchEdit>
    {
        public CodeTypeBatchVM()
        {
            ListVM = new CodeTypeListVM();
            LinkedVM = new CodeType_BatchEdit();
        }

    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class CodeType_BatchEdit : BaseVM
    {
        [Display(Name = "条码类型名称")]
        public String CodeName { get; set; }
        [Display(Name = "条码描述")]
        public String CodeDescribe { get; set; }
        [Display(Name = "条码正则")]
        public String CodeRegex { get; set; }

        protected override void InitVM()
        {
        }

    }

}
